NAME
inflate - unpack data
SYNTAX
string inflate(string data);
DESCRIPTION
This function preforms gzip style decompression. It can inflate
a whole file at once or in blocks.
EXAMPLES
#include <stdio.h>
// whole file
write(Gz_inflate()->inflate(stdin->read(0x7fffffff));
// streaming (blocks)
function inflate=Gz_inflate()->inflate;
while(string s=stdin->read(8192))
- write(inflate(s));
SEE ALSO